package com.sand.entity.work;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;

//工资表
@Data
@TableName("salary")
public class Salary {

    @TableId(value = "id",type = IdType.ASSIGN_ID)
    private Integer id;

    @TableField(value = "merchantid")
    private Integer merchantid;

    @TableField(value = "workerid")
    private Integer workerid;

    @TableField(value = "projectid")
    private Integer projectid;

    @TableField(value = "ysalary")
    private Integer ysalary;

    @TableField(value = "ssalary")
    private Integer ssalary;

    @TableField(value = "whether")
    private Integer whether;
}
